/********************************** (C) COPYRIGHT *******************************
* File Name          : common_type.h
* Author             : nx666
* Version            : V1.0.0
* Date               : 2023/02/28
* Description        : 定义foc所使用的类型.
*******************************************************************************/
#ifndef __COMMON_TYPE_H
#define __COMMON_TYPE_H

#include "module_config.h"
#include "IQmathLib.h"
#include "debug.h"

#ifdef __cplusplus
extern "C" {
#endif

/* 宏定义 */
#define         FUNC_SOK           0
#define         FUNC_FAIL         (-1)

/* 类型定义 */
typedef unsigned char uInt8;
typedef unsigned short uInt16;
typedef unsigned int uInt32;
typedef signed char Int8;
typedef signed short Int16;
typedef signed int Int32;
typedef signed int Int;

#ifdef __cplusplus
}
#endif

#endif /*__COMMON_TYPE_H */